SPRITE OFFSET Y
This command will return an integer value of the current amount of Y shift applied to the specified sprite.
Return Integer=SPRITE OFFSET Y(Sprite Number)
Sprite Number
Integer
The sprite number
The command will return an integer value of the current amount of Y shift applied to the specified sprite
The parameter should be specified using an integer value.
cls
load image "man.bmp",1
sprite 1,100,100,1
offset sprite 1,sprite width(1)/2.sprite height(1)/2
wait 1000*8
print "The current amount of y offset applied to the specified sprite "+str$(sprite offset y(1))
do
loop
end
SPRITE Commands Menu
Index